package org.oschina.zb.platform.localmsg.mysql.entity;

import org.oschina.zb.platform.core.base.BaseModel;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

@TableName(value = "local_message")
public class LocalMessage extends BaseModel {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 5164847247775294939L;

	/**
	 * 消息类型
	 */
	@TableField("type_")
	private Short type;

	/**
	 * 处理状态<br>
	 * 1.未处理<br>
	 * 2.处理完成<br>
	 * 3.处理失败
	 */
	@TableField("status_")
	private Short status;

	/**
	 * 失败原因
	 */
	@TableField("fail_cause_")
	private String failCause;

	/**
	 * 用户账户id
	 */
	@TableField("params_")
	private String params;

	public Short getType() {
		return type;
	}

	public void setType(Short type) {
		this.type = type;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public String getFailCause() {
		return failCause;
	}

	public void setFailCause(String failCause) {
		this.failCause = failCause;
	}

}
